﻿using System.ComponentModel.DataAnnotations;
using System.Resources;

namespace PortalWeb.Core.Entity
{
    public class ApplicationUser
    {
        public string Id { get; set; }

        public string Email { get; set; }

        public string PasswordHash { get; set; }

        [StringLength(255, ErrorMessage = "必填少于{0}个字")]
        [Display(Name = "昵称")]
        public string NickName { get; set; }

        public string UserName { get; set; }

        public string SecurityStamp { get; set; }

        [Display(ResourceType = typeof(ResourceSet), Name = "PhoneNumber")]
        public string PhoneNumber { get; set; }
    }
}
